package com.hmdp.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Jwt 配置类
 */
@Data
@Component
@ConfigurationProperties(prefix = "hmdp.jwt")
public class JwtProperties {
    private String signKey; // 签名密钥
    private Integer expire; // 过期时间
}
